package com.katze.common.ws.core;

import com.katze.common.ws.protocol.Message;
import io.netty.channel.Channel;

public interface MessageChannel {

    void onMessage(Channel channel, Message message) throws Exception;

    default void onClose(Channel channel) throws Exception {}
}
